<!DOCTYPE html>
<html lang="zh" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>物联网-即时信息</title>
    <link rel="stylesheet" th:href="@{/css/detail/reset.min.css}">
    <link rel="stylesheet" th:href="@{/css/detail/style.css}">
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <!-- bootstrap-table 表格插件样式 -->
    <link th:href="@{/ajax/libs/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/animate.css}" rel="stylesheet"/>
    <link th:href="@{/css/style.css}" rel="stylesheet}"/>
    <link th:href="@{/ruoyi/css/ry-ui.css}" rel="stylesheet"/>
    <link th:href="@{/css/my.css}" rel="stylesheet"/>
    <!-- layui -->
    <script th:src="@{/ajax/libs/layui/layui.js}"></script>

    <!--页面样式文件-->
    <link rel="stylesheet" th:href="@{/dist/css/main.css}">
</head>
<body>

<div class="mx-main .info-box">
    <a class="btn fl-r mr10 btn-success" href="javascript:history.go(-1)"><i class="fa fa-backward"></i>返回</a>
    <div class="xxfb-module xxfb-module-lg clearfix newslist">
        <div class="xx-list" th:each="n:${notices}">
            <div class="time">

                <h3 th:text="${#dates.format(n.createTime, 'yyyy')}+'年'">2018年</h3>
                <p th:text="${#dates.format(n.createTime, 'MM月dd日')}">11月29日</p></div>
            <div class="info">
                <a th:href="'/system/notice/info/'+${n.noticeId}">
                    <h5 class="news_title" m_id="396" th:text="${n.noticeTitle}">海淀区部份地区</h5>
                </a>

                <div class="news_content show-detail hidden" th:utext="${n.noticeContent}">海淀区养殖户，必须到相关管理站，进行防疫登记备案。
                </div>
            </div>
        </div>

    </div>
</div>
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>

<!-- 遮罩层 -->
<script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script th:src="@{/ajax/libs/layui/layui.js}"></script>
<script th:src="@{/ruoyi/js/common.js?v=3.4.0}"></script>

<script th:src="@{/ruoyi/js/ry-ui.js?v=3.4.0}"></script>

<script th:src="@{/ruoyi/js/my-common-js.js}"></script>
<script>
    $('.show-detail').each(function (i, e) {
        $(e).html(getText($(e).html(),200));
        $(e).removeClass("hidden")
    })
</script>

</body>
</html>